<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>基本信息</title>
<script type="text/javascript">
function showInfo(){
	var userObj = window.userObj;
	alert(userObj[0].userNickName); 
}
</script>
</head>
<body>
checkUser;
<button onclick="showInfo()">按钮</button>
</body>
</html>